@font-face {
    font-family: Fiber-ink;
    src: url(../fonts/千图纤墨体.ttf);
}

// 便笺容器
.note-card-box {
    width: 100%;
    height: 20rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 1.5rem;
    margin: 1rem 0;
    font-family: Fiber-ink;
    // 便笺
    .note-card {
        width: 100%;
        height: 100%;
        position: absolute;
        transform-origin: center;
        transition: 0.4s;
        transition-property: transform,z-index,opacity;
        box-shadow: 0 0 6px 0 rgba($color: #666, $alpha: 0.2);
        padding: 0.75rem;
        &:hover,
        &.lock {
            transform: scale(1);
            z-index: 3;
        }
    }
    .hide {
        opacity: 0;
    }
    .bot {
        transform: rotate(7deg) translate(0, -0.4rem) scale(0.8);
        font-size: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .cen {
        transform: rotate(2deg) translate(0, -0.4rem) scale(0.8);
        z-index: 0;
        &:hover + .top {
            transform: rotate(-6deg) translate(0, 5rem) scale(0.8);
            // animation: drawout 0.4s;
        }
    }
    .top {
        transform: rotate(-4deg) translate(0, 0.4rem) scale(0.8);
        z-index: 1;
        display: flex;
        flex-direction: column;
        .main {
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
        }
    }
    .note-head {
        display: block;
        .lock-svg {
            float: right;
            width: 1.75rem;
            cursor: pointer;
        }
    }
    .note-main {
        text-align: right;
    }
}

// 锁
.lock-head {
    transition: transform 0.4s;
}
.lock .lock-head {
    transform: translate(0, 40px);
}

.lock-fill {
    fill: #1fafff;
}

@media (max-width: 102rem) {
    .note-card-box {
        height: 18rem;
    }
}
@media (max-width: 76rem) {
    .note-card-box {
        font-size: 1.325rem;
        height: 33.6rem;
    }
}

@media (max-width: 50rem) {
    .note-card-box {
        font-size: 1.2rem;
        height: 68vw;
    }
}

@media (max-width: 22rem) {
    .note-card-box {
        height: 14.96rem;
    }
}
